/**
 *
 *
 *
 *
 *
 */

package com.jt.modules.app.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 登录表单
 *
 *
 */
@Data
@ApiModel(value = "登录表单",description = "门店在平板端可以使用手机号或者系统账号登录")
public class LoginForm {
    @ApiModelProperty(value = "手机号")
    @NotBlank(message="手机号不能为空")
    private String mobile;

    @ApiModelProperty(value = "密码",required = true)
    @NotBlank(message="密码不能为空")
    private String password;

    @ApiModelProperty(value = "平板设备号")
    @NotBlank(message="设备号不能为空")
    private String deviceId;

    @ApiModelProperty(value = "登录账号",required = false)
    private String userName;

}
